ArcPad Extension Preferences File Schema
APPLICATION Element
See Also  Send comments on this topic.
ArcPad Extension Preferences File Schema : APPLICATION Element

Glossary Item Box

Description

Used to specify scripts to call when Application object events occur.

Diagram

APPLICATION Element

Overview

APPLICATION
Used to specify scripts to call when Application object events occur.
onexevent optional xs:string
Specify the script to run when this event occurs.
onpower optional xs:string
Specify the script to run when this event occurs.
onpreferenceschanged optional xs:string
Specify the script to run when this event occurs.
onshutdown optional xs:string
Specify the script to run when this event occurs.
onstartup optional xs:string
Specify the script to run when this event occurs.
ontimer optional xs:string
Specify the script to run when this event occurs.

Attributes

NameTypeUseDefaultFixedDescription
onexeventxs:stringoptional  Specify the script to run when this event occurs.
onpowerxs:stringoptional  Specify the script to run when this event occurs.
onpreferenceschangedxs:stringoptional  Specify the script to run when this event occurs.
onshutdownxs:stringoptional  Specify the script to run when this event occurs.
onstartupxs:stringoptional  Specify the script to run when this event occurs.
ontimerxs:stringoptional  Specify the script to run when this event occurs.

Remarks

The script subroutine called should be located in the file specified in the SCRIPT element.

Examples

Applet with one toolbar and no forms

Source

<xs:element name="APPLICATION" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to specify scripts to call when Application object events occur.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute ref="onexevent" />
    <xs:attribute ref="onpower" />
    <xs:attribute ref="onpreferenceschanged" />
    <xs:attribute ref="onshutdown" />
    <xs:attribute ref="onstartup" />
    <xs:attribute ref="ontimer" />
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.